﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace SlamDunk.ValueObjects.Enums
{
    /// <summary>
    /// 生产计划状态
    /// </summary>
    [DataContract]
    public enum ProductionPlanStatus
    {
        /// <summary>
        /// 等待
        /// </summary>
        [EnumMember]
        [Description("等待")]
        Waiting = 0,

        /// <summary>
        /// 已发布
        /// </summary>
        [EnumMember]
        [Description("已发布")]
        Released = 1,

        /// <summary>
        /// 已取消
        /// </summary>
        [EnumMember]
        [Description("已取消")]
        Cancelled = 2,

        /// <summary>
        /// 执行中
        /// </summary>
        [EnumMember]
        [Description("执行中")]
        Executing = 3,

        /// <summary>
        /// 已中止
        /// </summary>
        [EnumMember]
        [Description("已中止")]
        Aborted = 4,

        /// <summary>
        /// 已完成
        /// </summary>
        [EnumMember]
        [Description("已完成")]
        Completed = 5
    }
}
